<template>
  <div id="SourceIcon">
    <!-- 京东=0,淘宝=1,小店=2,天猫=3,苏宁=4,考拉=5 -->
    <!-- img：01小店 03京东 04考拉 05拼多多 07淘宝 08天猫 09苏宁 10网易严选 11唯品会 12洋码头-->
    <img src="@/assets/three/left03.png" v-if="sourceid == 0" />
    <img src="@/assets/three/left07.png" v-if="sourceid == 1" />
    <img src="@/assets/three/left01.png" v-if="sourceid == 2" />
    <img src="@/assets/three/left08.png" v-if="sourceid == 3" />
    <img src="@/assets/three/left09.png" v-if="sourceid == 4" />
    <img src="@/assets/three/left04.png" v-if="sourceid == 5" />
  </div>
</template>

<script>
export default {
  name: "SourceIcon",
  props: {
    sourceid: Number | String
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},

  methods: {}
};
</script>
<style lang="less" scoped>
//@import url();
#SourceIcon {
  width: 0.373333rem;
  height: 0.373333rem;
  position: relative;
  flex-shrink: 0;
  margin-right: .1333rem;
  img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
}
</style>
